package com.hengpeng.itfin.service.activity;

import com.hengpeng.itfinbase.message.ResponseMessage;
import com.hengpeng.itfinbase.message.activity.CreateShareRedPacketRequest;
import com.hengpeng.itfinbase.message.activity.InvestRedPacketRequest;
import com.hengpeng.itfinbase.message.activity.InviteSendRedPacketRequest;
import com.hengpeng.itfinbase.message.activity.RegisterSendRedPacketRequest;
import com.hengpeng.itfinbase.message.activity.UnfreeRedPacketRequest;

/**
 * 红包服务
 * 
 * @author weiyuan
 *
 */
public interface RedPacketService {
    /**
     * 注册送红包
     * 
     * @param request
     * @return
     */
    public ResponseMessage registerSendRedPacket(RegisterSendRedPacketRequest request);

    /**
     * 邀请送红包
     * 
     * @param request
     * @return
     */
    public ResponseMessage inviteSendRedPacket(InviteSendRedPacketRequest request);

    /**
     * 投资送红包
     * 
     * @param request
     * @return
     */
    public ResponseMessage investSendRedPacket(InvestRedPacketRequest request);

    /**
     * 解冻红包
     * 
     * @param request
     * @return
     */
    public ResponseMessage unFreeRedPacket(UnfreeRedPacketRequest request);
    /**
     * 生成分享红包
     * @param request
     * @return
     */
    public ResponseMessage createShareRedPacket (CreateShareRedPacketRequest request);
}
